package com.seek.service;

import com.seek.core.BaseService;
import com.seek.model.entity.TBlacklist;
import java.util.List;

/**
 * Created by weh on 2017/7/19.
 */
public interface BlacklistService extends BaseService<TBlacklist> {

  /**
   * 查询号码是否在黑名单内
   * @param phoneNo
   * @return
   */
  boolean existPhone(String phoneNo);

  /**
   * 批量导入黑名单
   * @param datas
   * @throws Exception
   */
  void saveBatch(List<TBlacklist> datas) throws Exception;

}
